package org.vectrics.user;

import java.util.Date;

import org.vectrics.common.db.CodedObject;

/**
 * @author mmoore
 */
public class PersonEncounterStatusType implements CodedObject {
	public static String STATUS_SCHEDULED = "sched";
	public static String STATUS_CANCELLED_CANDIDATE = "canc-cand";
	public static String STATUS_CANCELLED_EMPLOYER = "canc-emplyr";
	public static String STATUS_POSTPONED = "postponed";
	public static String STATUS_DONE = "completed";
	public static String STATUS_NOT_SCHEDULED = "not-sched";

	private String code = null;
    private String name = null;
    private Date startDate = null;
    private Date endDate = null;
    
    /**
     * 
     */
    public PersonEncounterStatusType() {
        super();
    }

    /**
     * @return Returns the code.
     */
    public String getCode() {
        return code;
    }
    /**
     * @param code The code to set.
     */
    public void setCode(String code) {
        this.code = code;
    }
    
    /**
     * @return Returns the name.
     */
    public String getName() {
        return name;
    }
    
    /**
     * @param name The name to set.
     */
    public void setName(String name) {
        this.name = name;
    }
    
    /**
     * @return Returns the startDate.
     */
    public Date getStartDate() {
        return startDate;
    }
    
    /**
     * @param startDate The startDate to set.
     */
    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }
    
    
    /**
     * @return Returns the endDate.
     */
    public Date getEndDate() {
        return endDate;
    }
    
    /**
     * @param endDate The endDate to set.
     */
    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
    
    public String toString() {
    	return("code="+this.getCode());
    }
}
